package kr.memo.dao;

import java.util.List;
import java.util.Map;

import kr.memo.domain.MemoCommand;

import org.springframework.stereotype.Component;

@Component
public interface MemoDao {

	public List<MemoCommand> selectMemoList(Map<String, Object> map);
	public void insertMemo(MemoCommand memoCommand);
	public int memoRowCount(Integer p_num);
	public MemoCommand selectMemo(int memo_no);
	public void updateMemo(MemoCommand memoCommand);
	public void deleteMemo(Integer memo_no);
	public List<MemoCommand> selectByP_num(Integer p_num);
}
